//-----------------------------------------------------------------------
// <copyright file="OrganizationTelephone.cs" company="Procure Development">
//     Copyright (c) Procure Development. All rights reserved.
// </copyright>
// <author>Victor Procure</author>
//-----------------------------------------------------------------------

using System;using MongoDB.Bson;using MongoDB.Bson.Serialization.Attributes;

namespace SManagement.Models{
    /// <summary>
    /// A telephone number for an organization.
    /// </summary>
    public class OrganizationTelephone
    {
        #region Instance Properties
        /// <summary>
        /// Gets or sets the _id.
        /// </summary>
        /// <value>
        /// The _id.
        /// </value>
        [BsonId]
        public ObjectId _id { get; set; }

        public ObjectId OrganizationId { get; set; }

        public string TelephoneNumber { get; set; }

        public bool PrimaryTelephoneNumberIndicator { get; set; }

        public ObjectId? RefInstitutionTelephoneTypeId { get; set; }

        #endregion Instance Properties}}